package cn.edu.cqupt.cyExam.controller;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;


@RestController("/hello")
public class HelloController {
//接口http://localhost:8080/hello

    @RequestMapping("/hello")
    public String hello (){
        return "hello world黄发哼是大傻子13";
    }
}
